package com.arashivision.airlive;

public class Error {
    public static final int ERR_NONE = 0;
    public static final int ERR_CAMERA_BASE = -400;
    public static final int ERR_NOCAMERA = ERR_CAMERA_BASE -1;
    public static final int ERR_OPENDEVICE = ERR_CAMERA_BASE-2;
    public static final int ERR_INITCAMERA = ERR_CAMERA_BASE-3;
    public static final int ERR_ENCODER = ERR_CAMERA_BASE-4;
    public static final int ERR_PLAYER = ERR_CAMERA_BASE-5;
    public static final int ERR_PERMISSION = ERR_CAMERA_BASE-6;
    public static final int ERR_CAMERA_STREAM_READ_ERROR = ERR_CAMERA_BASE-7;
    public static final int ERR_CAMERA_STREAM_READ_TIMEOUT = ERR_CAMERA_BASE-8;
    public static final int ERR_AUDIO_RECORD = ERR_CAMERA_BASE-9;
    public static final int ERR_STREAM_NO_CSD = ERR_CAMERA_BASE-10;
    public static final int ERR_STREAM_NO_AUDIO_CSD = ERR_CAMERA_BASE-11;

    public static final int ERR_INVALID_OPERATION = ERR_CAMERA_BASE-20;

    public static final int ERR_IO = ERR_CAMERA_BASE-30;
    public static final int ERR_NOT_SUPPORT = ERR_CAMERA_BASE-31;

    public static final int ERR_PIPELINE_UNKNOWN = ERR_CAMERA_BASE-40;


}
